package net.xdclass.order.mapper;

import net.xdclass.order.model.ProductOrderItemDO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author yaya
 * @since 2023-12-31
 */
public interface ProductOrderItemMapper extends BaseMapper<ProductOrderItemDO> {

    /**
     * 批量插入订单项
     * @param orderItemList
     * @return
     */
    int insertBatch(@Param("orderItemList") List<ProductOrderItemDO> orderItemList);
}
